﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyBepAnTuThien
{
    public partial class frmInDSMTQ : Form
    {
        public frmInDSMTQ()
        {
            InitializeComponent();
        }
        connect cn = new connect();
        private void frmInDSMTQ_Load(object sender, EventArgs e)
        {
            Report.rpDsMTQ rp = new Report.rpDsMTQ();
            DataTable dt = cn.getDataTable("tblMTQ_DS");
            rp.SetDataSource(dt);
            rp.SetParameterValue("nguoilap", login.Hoten);
            rpDSMTQ_View.ReportSource = rp;
        }
    }
}
